home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / mail / mmdf / mmdf-IIb.43 / h / ap_lex.h < prev    next >
Encoding:
C/C++ Source or Header  |  1986-02-01  |  2.2 KB  |  36 lines

  1. /* lexical symbols for address parser */
  2.  
  3. #define LT_EOL          0      /* New-Line                             */
  4. #define LT_SPC          0      /* Space and tab                        */
  5. #define LT_ERR          1      /* Illegal chars (control chars)        */
  6. #define LT_EOD          2      /* End of Data (null)                   */
  7. #define LT_COM          3      /* ,                                    */
  8. #define LT_AT           4      /* @                                    */
  9. #define LT_COL          5      /* :                                    */
  10. #define LT_SEM          6      /* ;                                    */
  11. #define LT_LES          7      /* <                                    */
  12. #define LT_GTR          8      /* >                                    */
  13. #define LT_SQT          9      /* \ (only in quoted strings)           */
  14. #define LT_LTR         10      /* alphabetics, numbers, and others     */
  15. #define LT_XTR         10      /* alphabetics, numbers, and others     */
  16. #define LT_NUM         10      /* alphabetics, numbers, and others     */
  17. #define LT_LPR         11      /* (                                    */
  18. #define LT_RPR         12      /* )                                    */
  19. #define LT_QOT         13      /* "                                    */
  20. #define LT_LSQ         14         /* [                                    */
  21. #define LT_RSQ         15         /* ]                                    */
  22.  
  23.  
  24. #define LV_EOD          0      /* End of Data                          */
  25. #define LV_ERROR        1      /* These Values go with the above Types */
  26. #define LV_COMMA        2      /* ,                                    */
  27. #define LV_AT           3      /* @                                    */
  28. #define LV_COLON        4      /* :                                    */
  29. #define LV_SEMI         5      /* ;                                    */
  30. #define LV_COMMENT      6      /* (text text text)                     */
  31. #define LV_LESS         7      /* <                                    */
  32. #define LV_GRTR         8      /* >                                    */
  33. #define LV_WORD         9      /* atom / string                        */
  34. #define LV_FROM        10      /* <<                                   */
  35. #define LV_DLIT        11         /* [text text text]                     */
  36.